package com.situ.onlinebookstore.front.service;

import com.situ.onlinebookstore.common.entity.User;

public interface UserService {
    User login(User user) throws Exception;

    int changePassword( String oldPassword, String newPassword,Integer id) throws Exception;

    int rePassword(String username, String password, String rePassword) throws Exception;


    int confirmPwd(String username, String password) throws Exception;
}
